package com.internetCafes.spms.web.customer.model.Cooperation;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class CooperationDetailTestReq {

    /*
    "typeId":1,
    "subjectId":34,
    "explain":"说明",
    "unitPrice":1222,
    "amount":1,
    "subtotal":123,
    "tax":123
     */

    /**
     * 记录id
     */
    private Long id;

    /**
     * 类型id 1-进款 2-退款 3-挂靠
     */
    private Integer typeId = 1;

    /**
     * 科目id 引用 x_ent_dict_value的id
     */
    private Long subjectId = 34L;

    /**
     * 说明
     */
    private String explain = "测试";

    /**
     * 单价
     */
    private BigDecimal unitPrice = new BigDecimal(1);

    /**
     * 数量
     */
    private Integer amount = 1;

    /**
     * 小计
     */
    private BigDecimal subtota1l = new BigDecimal(1);

    /**
     * 税点
     */
    private BigDecimal tax = new BigDecimal(0);

}
